import React from "react";
import { Form, FormGrid } from "@formily/antd";

const VerticalFormGrid: React.FC = (props) => {
  return (
    <Form layout="vertical">
      <FormGrid {...props}>{props.children}</FormGrid>
    </Form>
  );
};

export default VerticalFormGrid;
